﻿using System.ComponentModel.DataAnnotations;

namespace Entity
{
    public class Interview
    {
        public Interview()
        {
            this.ID = Guid.NewGuid();
        }
        /// <summary>
        /// 数据唯一标识符
        /// </summary>
        [Required]
        public Guid ID { get; set; }
        /// <summary>
        /// 职员的姓
        /// </summary>
        [Required]
        [StringLength(20)]
        public string FirstName { get; set; }
        /// <summary>
        /// 职员的名
        /// </summary>
        [Required]
        [StringLength(30)]
        public string LastName { get; set; }
        /// <summary>
        /// 是否携带慰问品
        /// </summary>
        [Required]
        public bool Condolenceitem { get; set; }
        /// <summary>
        /// 携带了慰问品的金额是多少
        /// </summary>
        [Required]
        public int money { get; set; }
        /// <summary>
        /// 有几个来
        /// </summary>
        [Required]
        public int staff { get; set; }
        /// <summary>
        /// 职员与老人关系怎么样
        /// </summary>
        [Required]
        public string relationship { get; set; }
        /// <summary>
        /// 辖区老人身体是否健康
        /// </summary>
        [Required]
        public string health { get; set; }
        /// <summary>
        /// 职员慰问老人开始时间
        /// </summary>
        [Required]
        public DateTime starttime { get; set; }
        /// <summary>
        /// 职员慰问老人结束时间
        /// </summary>
        [Required]
        public DateTime endtime { get; set; }
        /// <summary>
        /// 职员慰问老人一共多少时间
        /// </summary>
        [Required]
        public DateTime inall { get; set; }
    }
}
